var dir = window.document.URL;
var dir2 = encodeURIComponent(dir);
var tit = window.document.title;
var tit2 = encodeURIComponent(tit);
      
function compartirEnFacebook()
      {
    	  window.open('http://www.facebook.com/share.php?u='+dir2+'&t='+tit2+'', 'Compartir', 'width=600,height=400,left=50,top=50');
      }
      
function compartirEnTwitter()
      {
    	  window.open('http://twitter.com/?status='+tit2+'%20'+dir+'', 'Compartir', 'width=600,height=400,left=50,top=50');
      }
      
function compartirEnGooglePlus()
      {
    	  window.open('https://plus.google.com/share?url='+dir2+';void0;', 'Compartir', 'width=600,height=400,left=50,top=50');
      }
      
function compartirEnLinkedin()
      {
    	  window.open('http://www.linkedin.com/shareArticle?url='+dir2, 'Compartir', 'width=600,height=400,left=50,top=50');
      }
function informaSalidaPagina()
	  {
		  alert('Usted está saliendo de nuestro sitio');
	  }